package com.bss.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.andy.basics.Dao;
import com.bss.model.MaterialSetMapping;

@Repository
public class MaterialSetMappingDao extends Dao<MaterialSetMapping> {

	public List<MaterialSetMapping> findEditableMaterialSetMappings() {
		List<MaterialSetMapping> list = findComplex("Select msm from com.bss.model.MaterialSetMapping as msm "
				+ "join msm.materialSet as ms where ms.editable = true");
		return list;
	}

}
